Spine stabilization using CT planning